home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 1 / CU Amiga Magazine CD-ROM Special Edition (1995)(EMAP Images)(GB)[Issue 1995-11].iso / Aminet / text / tex / mma2ltx121.lha / mma2ltx / Makefile < prev    next >
Makefile  |  1995-05-17  |  615b  |  38 lines

  1. #
  2. # Makefile for Unix
  3. #
  4. # mma2ltx v1.21
  5. #
  6. # Copyright (C) 1994, 1995 by Giuseppe Ghibo`
  7. #
  8. # Latest revision: 16 May 1995
  9. #
  10.  
  11. LATEX = latex
  12. DVIPS = dvips
  13. RM = rm
  14. CFLAGS = -O
  15.  
  16. all: mma2ltx extpro mysample.ps
  17.  
  18. mma2ltx: mma2ltx.c
  19.     $(CC) $(CFLAGS) -lm -o mma2ltx mma2ltx.c
  20.  
  21. extpro: extpro.c
  22.     $(CC) $(CFLAGS) -o extpro extpro.c
  23.  
  24. mysample.ps:    mysample.dvi
  25.     $(DVIPS) mysample.dvi
  26.  
  27. mysample.dvi: mysample.tex mypic.tex
  28.     $(LATEX) mysample.tex
  29.  
  30. mypic.tex: mypic.ps mma2ltx
  31.     mma2ltx -ucm -w10cm -sfootnotesize mypic.ps
  32.  
  33. clean:
  34.     - $(RM) -f *.log *.aux *.o *.dvi core
  35.  
  36. veryclean: clean
  37.     - $(RM) mma2ltx extpro mypic.tex mypic.eps
  38.